﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<DVSProject.Models.LogOnModel>" %>


<link href="../../Content/reset.css" rel="stylesheet" type="text/css" />
<link href="../../Content/styles.css" rel="stylesheet" type="text/css" />
<%--<link href="../../Content/jquery-ui-1.10.3.custom.css" rel="stylesheet" type="text/css" />

<script src="../../Scripts/jquery-1.9.1.js" type="text/javascript"></script>
<script src="../../Scripts/jquery-ui-1.10.3.custom.js" type="text/javascript"></script>

--%>

<% using (Html.BeginForm())
   { %>
<%= Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.") %>
<div id="container">
    <div style="text-align:center">
    <img src="../../Image/logo.PNG" alt="logo"  /><br /></div>
    <label for="name">
        Username:</label>
    <%= Html.TextBoxFor(m => m.UserName, new { @type = "Name" })%>
    <label for="username">
        Password:</label>
    <%= Html.PasswordFor(m => m.Password) %>
    <div>
        <p class="errormessage" align="center">
            <%=TempData["errormessage"]%>
        </p>
    </div>
    <div id="lower">
        <input type="submit" value="Login" />
    </div>
</div>
<% } %>
